package com.fs.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fs.entity.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-06-12
 */
public interface IStudentsService{

    void login(int sid, String password);

    boolean register(Students students);

    boolean modify(Students students);

    int queryBySid(Integer sid);

    Page queryByPageAndCondition(StuCondition stuCondition);

    Boolean updateStuCredit(Integer[] sids,Integer credit);

    List<Materials> getMaterialsUnderReviewBySid(Integer sid);

    List<Materialcategory> selectMaterialCategoriesWithoutStudentSubmissions(Integer sid);

    Page selectMaterialsByConditions(StudentCondition condition ,Integer sid);
}
